Add support for disabling stack trace collection#5
Conversation
|
❌ @pvital the
📝 What should I do to fix it?All proposed commits should include a sign-off in their messages, ideally at the end. ❔ Why it is requiredThe Developer Certificate of Origin (DCO) is a lightweight way for contributors to certify that they wrote or otherwise have the right to submit the code they are contributing to the project. Here is the full text of the DCO, reformatted for readability:
Contributors sign-off that they adhere to these requirements by adding a Git even has a |
Description
This PR adds support to disable the stack trace collection in the Python sensor.
Changes
SPAN_CATEGORIESlist insrc/instana/util/config.py_add_stackmethod insrc/instana/tracer.pyto check if stack trace collection is disabledtests/test_span_disabling.pytests/test_tracer.pyHow to Test
INSTANA_TRACING_DISABLE=stack